﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ladrame.Core.Entities;
using Ladrame.Data;

namespace Ladrame.Service
{
    public class ArtistService
    {
        public IEnumerable<Artist> GetAllArtists()
        {
            ArtistRepository data = ArtistRepository.Current;
            return (IEnumerable<Artist>)data.GetAll();
        }

        public void AddArtist(Artist a)
        {
            ArtistRepository data = ArtistRepository.Current;
            data.Add(a);
        }
    }
}
